package io.github.source;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;

import java.util.List;

import io.github.source.config.VodConfig;
import io.github.source.media.bean.MediaCategory;
import io.github.source.media.bean.MediaProvider;
import io.github.source.media.bean.MediaProviderImpl;
import io.github.source.media.bean.MediaResult;

import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.mockito.internal.matchers.text.ValuePrinter.print;

/**
 * @ClassName: MediaProviderTest
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author: huangrongcai
 * @date: 2024/6/18
 * @Copyright: 黄嵘才（HuangRc)
 */

public class MediaProviderTest {


    @Test
    public void mockitoTestExample() throws Exception {
        VodConfig.get().initConfig();
//        MediaProvider test = mock(MediaProviderImpl.class);
//        MediaResult<List<MediaCategory>> result =  test.getMediaCategory();
//        print(result.getCode());

    }
}
